Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG2-214 Showing backend error for TP/SL orders #770

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ruixhuang
Copy link
Contributor

Copy link

linear bot commented Dec 21, 2024

@ruixhuang ruixhuang marked this pull request as ready for review December 21, 2024 00:37
localizer.localizeWithParams(
path = it,
params = mapOf("NEW_VALUE" to triggerPrice),
)
}
val failedReasons = status.failedReason
if (failedReasons != null) {
detail += " $failedReasons"
Copy link
Contributor

@jaredvu jaredvu Dec 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this combine the localized error message with the broadcast error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. Web does its own message and this code path is for mobile only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants